import { http } from '@/utils/http'

export type suggestiongItem = {
  /* 内容 */
  content?: string
  /* 标题 */
  title?: string
  /* 创建用户ID */
  userId?: string
}
export const putSuggestionAPI = (data: suggestiongItem) => {
  return http({
    method: 'POST',
    url: '/admin/home/submitSuggestion',
    data,
  })
}
